package cn.amarone.scaffold.entity.dict;

import com.mybatisflex.annotation.EnumValue;

public enum StatusEnum {
    ENABLE(0, "禁用"),
    UNENABLE(1, "启用");


    @EnumValue
    private int code;
    private String desc;

    StatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
